﻿@using Cloud.Entity;
@model List<Cloud.Dto.RequestLogDto>
@{
    Layout = "~/Views/Shared/InitPagedInputControls.cshtml";
}
<table class="table  table-bordered table-hover tableFocus center">

    <thead>
        <tr>
            <th>Id</th>
            <th>请求方式</th>
            <th>ControllerName</th>
            <th>ActionName</th>
            <th>参数</th>
            <th>返回状态码 </th>
            <th>操作人ID </th>
            <th>操作人 </th>
            <th>IP </th>
            <th>操作时间</th>


        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {

        <tr>
            <td>@item.RequestLogId</td>
            <td>@item.Method</td>
            <td>@item.ControllerName</td>
            <td>@item.ActionName</td>
            <td style="word-break:break-all;word-wrap:break-word;width:300px;">@item.Parameter</td>
            <td>@item.HttpStatusCode</td>
            <td>@item.LoginId</td>
            <td>@item.LoginName</td>
            <td>@item.IpAddress</td>
            <td>@Html.GetDateTimeFormat(item.CreateTime)</td>
        </tr>
        }
    </tbody>

</table>
    
